import Vue from 'vue'
import ElementUI from 'element-ui'
import moment from 'moment'
import App from './App.vue'
import router from './router'
import store from './store'
import 'element-ui/lib/theme-chalk/index.css'
import './styles/base.css'
Vue.use(ElementUI)

Vue.config.productionTip = false

// 格式化时间
Vue.filter("dateFmt", function (i, m) {
  return moment(i).format(m)
})

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
